import Vue from 'vue';
import Vuex from 'vuex';

import base from './modules/base';
import article from './modules/article';

// import createLogger from '../../../src/plugins/logger'

Vue.use(Vuex);

const debug = process.env.NODE_ENV !== 'production';

export default new Vuex.Store({
  modules: {
    base,
    article
  }
  // strict: debug
  // plugins: debug ? [createLogger()] : []
});
